public class Test {
    public static void main(String[] args) {
//        ArrayQueueFailed arrayQueue=new ArrayQueueFailed(4);
//        System.out.println(arrayQueue.isEmpty());
//        System.out.println(arrayQueue.isFull());
//        arrayQueue.insert(1);
//        arrayQueue.insert(2);
//        arrayQueue.insert(3);
//        arrayQueue.insert(4);
//
//        System.out.println(arrayQueue.push());
//        System.out.println(arrayQueue.push());
//        System.out.println(arrayQueue.push());
//        System.out.println(arrayQueue.push());
//
//        System.out.println(arrayQueue.isEmpty());
//        arrayQueue.insert(5);
//
//        //System.out.println(arrayQueue.push());


        ArrayQueueSuccese arrayQueueSuccese=new ArrayQueueSuccese(4);

        System.out.println(arrayQueueSuccese.isFull());
        System.out.println(arrayQueueSuccese.isEmpty());
        arrayQueueSuccese.insert(1);
        arrayQueueSuccese.insert(2);
        System.out.println(arrayQueueSuccese.push());
        System.out.println(arrayQueueSuccese.push());

        arrayQueueSuccese.insert(3);
        arrayQueueSuccese.insert(4);

    }
}
